/******************************************************************************
COPYRIGHT (C) 2013 by IT-Designers GmbH

File:		defines.h
Created:	07.03.2013
Modified:	07.03.2013
Author:		Max Pejs
******************************************************************************/

#ifndef DEFINES_H
#define DEFINES_H

#define ALLOWED_LINE_SKEW	20.0
#define MIN_LINE_LENGTH		50

#define COLOR_RED			CV_RGB(255,0,0)
#define COLOR_GREEN			CV_RGB(0,255,0)
#define COLOR_BLUE			CV_RGB(0,0,255)
#define COLOR_YELLOW		CV_RGB(255,255,0)
#define COLOR_TUERKIS		CV_RGB(0,255,255)
#define COLOR_ORANGE		CV_RGB(255,170,0)
#define COLOR_PURPLE		CV_RGB(146,36,157)

#define CHANGE_COLOR(c)		double temp0 = c.val[0]; double temp1 = c.val[1]; double temp2 = c.val[2];	\
							c.val[0] = temp1; c.val[1] = temp2; c.val[2] = temp0; \



#endif	// DEFINES_H